package com.simtop.car.service.imp;


import com.simtop.car.mapper.ExcelMapper;
import com.simtop.car.pojo.*;
import com.simtop.car.service.ExcelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ExcelServiceImpl implements ExcelService {

    @Autowired
    public ExcelMapper excelMapper;


    @Override
    public void exportRecruitment(List<Recruitment> recruitmentList) {
        excelMapper.exportRecruitment(recruitmentList);
    }

    @Override
    public void exportWeibo(List<WeiBo> weiBoList) {
        excelMapper.exportWeibo(weiBoList);
    }

    @Override
    public void exportWeChat(List<WeChat> weChatList) {
        excelMapper.exportWeChat(weChatList);
    }

    @Override
    public void exportNews(List<News> newsList) {
        excelMapper.exportNews(newsList);
    }

    @Override
    public void exportPatent(List<Patent> patentList) {
        excelMapper.exportPatent(patentList);
    }

    @Override
    public void exportCompanyWebsite(List<CompanyWebsite> companyWebsiteList) {
        excelMapper.exportCompanyWebsite(companyWebsiteList);
    }

    @Override
    public void exportCorporateAnnualReports(List<CorporateAnnualReports> corporateAnnualReportsList) {
        excelMapper.exportCorporateAnnualReports(corporateAnnualReportsList);
    }

    @Override
    public void exportBusinessInformation(List<BusinessInformation> businessInformationList) {
        excelMapper.exportBusinessInformation(businessInformationList);
    }

    @Override
    public void exportCommunityForum(List<CommunityForum> communityForumList) {
        excelMapper.exportCommunityForum(communityForumList);
    }
}
